package com.bootdo.reverseproxy.controller;

import com.bootdo.reverseproxy.mask.Reverse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller(value = "/MOE_ZHFW_01")
@RequestMapping(value = "/MOE_ZHFW_01")
public class StaticController {

    @Autowired
    Reverse reverse;


    @RequestMapping(value = "/*/*")
    public void dataMask(HttpServletRequest request, HttpServletResponse response) {
        reverse.modify(request, response);
    }
}




